projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228c219
)
(gamegrid-setup-default-font): Use face-spec-set.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Oct 2007 01:35:07 +0000
(
01:35
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Oct 2007 01:35:07 +0000
(
01:35
+0000)
lisp/play/gamegrid.el
patch
|
blob
|
history
diff --git
a/lisp/play/gamegrid.el
b/lisp/play/gamegrid.el
index 54e766a5878379ff3239fdb596e17aa394c31c7b..813c75d173120bf0292343df1d07bb1681e9d45d 100644
(file)
--- a/
lisp/play/gamegrid.el
+++ b/
lisp/play/gamegrid.el
@@
-320,7
+320,7
@@
static unsigned char gamegrid_bits[] = {
(< max-height height))
(setq max-height height))))))
(when (and max-height (< max-height 1))
- (
set-face-attribute gamegrid-face nil :height max-height
)))))
+ (
face-spec-set gamegrid-face `((t :height ,max-height))
)))))
(defun gamegrid-initialize-display ()
(setq gamegrid-display-mode (gamegrid-display-type))